package cn.bdqn.domain;

/**
 * 教师实体类
 * @author dkj
 */
public class Teacher {
    /**
     * id
     */
    private Integer id;

    /**
     * 基地id
     */
    private Integer baseId;

    /**
     * 教师名
     */
    private String teacherName;

    /**
     * 性别 0男 1女
     */
    private Integer sex;

    /**
     * 课题
     */
    private String task;

    /**
     * 职务
     */
    private String duty;

    /**
     * 教师图片路径
     */
    private String teacherImageUrl;

    /**
     * 简介
     */
    private String brief;

    /**
     * '0.已发布，1未发布，2下线'
     */
    private Integer issueState;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBaseId() {
        return baseId;
    }

    public void setBaseId(Integer baseId) {
        this.baseId = baseId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName == null ? null : teacherName.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getTask() {
        return task;
    }

    public void setTask(String task) {
        this.task = task == null ? null : task.trim();
    }

    public String getDuty() {
        return duty;
    }

    public void setDuty(String duty) {
        this.duty = duty == null ? null : duty.trim();
    }

    public String getTeacherImageUrl() {
        return teacherImageUrl;
    }

    public void setTeacherImageUrl(String teacherImageUrl) {
        this.teacherImageUrl = teacherImageUrl == null ? null : teacherImageUrl.trim();
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief == null ? null : brief.trim();
    }

    public Integer getIssueState() {
        return issueState;
    }

    public void setIssueState(Integer issueState) {
        this.issueState = issueState;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "id=" + id +
                ", baseId=" + baseId +
                ", teacherName='" + teacherName + '\'' +
                ", sex=" + sex +
                ", task='" + task + '\'' +
                ", duty='" + duty + '\'' +
                ", teacherImageUrl='" + teacherImageUrl + '\'' +
                ", brief='" + brief + '\'' +
                ", issueState=" + issueState +
                '}';
    }
}